package com.yf.exam.modules.trainingarchives.studentinfo.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yf.exam.modules.trainingarchives.pdfexport.dto.second.StudentAssessmentExportDTO;
import com.yf.exam.modules.trainingarchives.pdfexport.dto.second.three.StudentInfoListExportDTO;
import com.yf.exam.modules.trainingarchives.studentinfo.dto.req.StudentInfoReqDTO;
import com.yf.exam.modules.trainingarchives.studentinfo.dto.resp.StudentInfoRespDTO;
import com.yf.exam.modules.trainingarchives.studentinfo.entity.StudentInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 学员信息表 Mapper 接口
 * </p>
 *
 * @author author
 * @since 2024-12-29
 */
public interface StudentInfoMapper extends BaseMapper<StudentInfo> {

    IPage<StudentInfoRespDTO> paging(Page page, @Param("params") StudentInfoReqDTO params);

    List<StudentInfoListExportDTO> getStudentPdfDataList(@Param("trainingClassInfoId") String trainingClassInfoId);

    List<StudentAssessmentExportDTO> getStudentExamPdfData(@Param("trainingClassInfoId") String trainingClassInfoId);
}
